package com.fujiyang;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@SpringBootApplication // 标识这是一个Spring Boot应用
@MapperScan("com.fujiyang.mapper") // 告诉MyBatis扫描指定包下的Mapper接口
@Slf4j

public class ShopServesApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopServesApplication.class, args);
        System.out.println("ShopServesApplication启动成功！");
    }
}
